package v1

import (
	"github.com/gin-gonic/gin"
	"learnGo/internal/controller"
	"learnGo/standard"
)

func AddRouter(r *gin.RouterGroup) {
	router := standard.NewRouter(r)
	router.DefaultRouter(&controller.Tag{})
	router.DefaultRouter(&controller.ArticleTag{})
	router.DefaultRouter(&controller.Article{})
}
